package com.googlecode.tracey.messageserver;

import java.io.File;

public class LogDirectory {
    private final String value;

    private LogDirectory(String value) {
        this.value = value;
    }

    public static LogDirectory logDirectory(String value) {
        return new LogDirectory(value);
    }

    public static LogDirectory logDirectory(File value) {
        return new LogDirectory(value.getAbsolutePath());
    }

    public String value() {
        return value;
    }
}
